FluentCrm\App\Models\Campaign C

Total Complexity 112
Dependencies 12
Dependents 10
Total lines 768
Lines of code 524
Logical lines of code 271
Comment lines 67
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
getSubscribeIdsByListModel()
B
41 18 57
getSubscribersModel()
A
43 11 48
subscribe()
A
43 8 50
boot()
A
45 7 44
syncSubjects()
S
52 6 26
stats()
S
46 5 38
guessEmailSubject()
S
57 5 16
maybeDeleteDuplicates()
S
51 4 28
getSubscriberIdsBySegmentSettings()
S
56 4 20
getEmailScheduleAt()
S
56 4 17
subscribeBySegment()
S
58 4 16
duplicateSubjects()
S
59 4 16
rangedScheduleDates()
S
59 3 14
getUtmParams()
S
62 2 12
getSubscriberIdsCountBySegmentSettings()
S
69 2 7
getHash()
S
63 2 10
getSubscribeIdsByList()
S
65 2 9
getSubjectAttribute()
S
71 2 6
getSubQueryForLisTorTagFilter()
S
60 1 14
filterDuplicateSubscribers()
S
66 1 8
deleteCampaignData()
S
67 1 8
setSettingsAttribute()
S
78 1 3
getEmailCount()
S
74 1 5
getSettingsAttribute()
S
80 1 3
archive()
S
74 1 5
scopeArchived()
S
79 1 3
getParsedText()
S
79 1 3
getRecipientsCountAttribute()
S
81 1 3
unsubscribe()
S
70 1 6
template()
S
78 1 3
getSubscribeIdsByListCount()
S
74 1 4
setSlugAttribute()
S
77 1 3
scopeOfType()
S
79 1 3
subjects()
S
78 1 3
campaign_emails()
S
72 1 5
emails()
S
73 1 5
getRenderedBodyAttribute()
S
80 1 3